import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../../../provider/model.dart';

class Subject4 extends StatefulWidget {
  @override
  _Subject4State createState() => _Subject4State();
}

class _Subject4State extends State<Subject4> {
  @override
  Widget build(BuildContext context) {
    return Consumer<SubLenModel>(
      builder: (context, sub1m, child) {
        return Text('科目四${sub1m.sub4Len}');
      } 
    );
  }
}